package org.eiahe.hr.attendance.service;

import org.eiahe.hr.attendance.domain.bo.SpecialRuleApprovalLogBo;
import org.eiahe.hr.attendance.domain.vo.SpecialRuleApprovalLogVo;
import org.ehe.common.mybatis.core.page.PageQuery;
import org.ehe.common.mybatis.core.page.TableDataInfo;

import java.util.Collection;
import java.util.List;

/**
 * 特殊规则审批日志Service接口
 *
 * @author zhangnn
 */
public interface ISpecialRuleApprovalLogService {

    /**
     * 查询特殊规则审批日志
     */
    SpecialRuleApprovalLogVo queryById(Long logId);

    /**
     * 查询特殊规则审批日志列表
     */
    TableDataInfo<SpecialRuleApprovalLogVo> queryPageList(SpecialRuleApprovalLogBo bo, PageQuery pageQuery);

    /**
     * 查询特殊规则审批日志列表
     */
    List<SpecialRuleApprovalLogVo> queryList(SpecialRuleApprovalLogBo bo);

    /**
     * 新增特殊规则审批日志
     */
    Boolean insertByBo(SpecialRuleApprovalLogBo bo);

    /**
     * 校验并批量删除特殊规则审批日志信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids);

    /**
     * 根据规则ID查询审批日志
     */
    List<SpecialRuleApprovalLogVo> queryByRuleId(Long ruleId);
}
